04. Solution: Arithmetic Operators

Here are our solutions to the Arithmetic Operators quiz questions on the previous page:

Solution: Average Electricity Bill

# Write an expression that calculates the average of 23, 32 and 64.
# Place the expression in this print statement.
print((23 + 32 + 64)/3)

Solution: Calculate

# Fill this in with an expression that calculates how many tiles are needed.
print(9*7 + 5*7)
# Fill this in with an expression that calculates how many tiles will be left over.
print(17*6 - (9*7 + 5*7))